#include "StdAfx.h"
#include "GameApp.h"

#include "SceneManager.h"
#include "AudioSystem.h"
#include "FileSystem.h"

#include "Rect.h"
#include "QuadTree.h"

GameApp::GameApp() 
	: Application()
{
	m_pSceneManager = new SceneManager(this);
	m_pAudioSystem = new AudioSystem(this);
	m_pFileSystem = new FileSystem(this);
}

GameApp::~GameApp()
{
	DeleteAndSetNULL(m_pFileSystem);
	DeleteAndSetNULL(m_pAudioSystem);
	DeleteAndSetNULL(m_pSceneManager);
}
